﻿using WCS.Entity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WCSApi
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions<MyDbContext> options) :
            base(options)
        {
        }

        /// <summary>
        /// 主任务表
        /// </summary>
        public DbSet<WcsTaskMain> wcsTaskMain { get; set; }

        /// <summary>
        /// 设备状态表
        /// </summary>
        public DbSet<ApiLogs> apiLog { get; set; }
    }
}
